SPEED=$1
BUFFER_SIZE=$2
mmdelay=$3
cc_name=$4

sudo sysctl -w net.ipv4.tcp_congestion_control=${cc_name}
sudo sysctl -a | grep net.ipv4.tcp_congestion_control

sudo ethtool -K enp1s0 gso off
sudo ethtool -K enp1s0 tso off
sudo sysctl -w net.ipv4.tcp_sack=0

mm-delay ${mmdelay} ./mm-delay-script.sh ${SPEED} ${BUFFER_SIZE} ${mmdelay} ${cc_name} 10.10.10.10
